package com.smarttourism.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.smarttourism.common.annotation.Excel;
import com.smarttourism.common.core.domain.BaseEntity;

/**
 * 会员列对象 member
 * 
 * @author smarttourism
 * @date 2024-10-21
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员编码 */
    @Excel(name = "会员编码")
    private Long id;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 可用余额 */
    @Excel(name = "可用余额")
    private BigDecimal blance;

    /** 会员等级 */
    @Excel(name = "会员等级")
    private Long mrange;

    /** 可用积分 */
    @Excel(name = "可用积分")
    private Long integration;

    /** 会员图片 */
    @Excel(name = "会员图片")
    private String image;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 逻辑删除标志 */
    private Integer del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setBlance(BigDecimal blance) 
    {
        this.blance = blance;
    }

    public BigDecimal getBlance() 
    {
        return blance;
    }
    public void setMrange(Long mrange) 
    {
        this.mrange = mrange;
    }

    public Long getMrange() 
    {
        return mrange;
    }
    public void setIntegration(Long integration) 
    {
        this.integration = integration;
    }

    public Long getIntegration() 
    {
        return integration;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }
    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sex", getSex())
            .append("phone", getPhone())
            .append("blance", getBlance())
            .append("mrange", getMrange())
            .append("integration", getIntegration())
            .append("image", getImage())
            .append("idcard", getIdcard())
            .append("del", getDel())
            .toString();
    }
}
